package com.blog.system.domain;

import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.blog.common.annotation.Excel;
import com.blog.common.core.domain.BaseEntity;

/**
 * 自习室时间段对象 room_time
 *
 * @author ruoyi
 * @date 2025-03-13
 */
@Data
public class RoomTime extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String roomId;

    private String roomName;
    /**
     * 小时段
     */
    @Excel(name = "小时段")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime stopTime;
    private LocalDateTime create_time;
    private LocalDateTime update_time;


    /**
     * 预定日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date data;

    /**
     * 关联用户id
     */
    @Excel(name = "关联用户id")
    private String userId;
    @Excel(name = "花费金额")
    private String count;
    @Excel(name = "座位id")
    private String seatId;



}
